<?php $this->load->view('public/member_pubnav'); ?>
<!--宝贝详情页-->
    <div class="nav1">
    <div id="content">
    <div class="content1">
        <div class="content4">
            <div class="content6">
            <?php if (!empty($liker_latest['id'])) {?>
            <a href="<?php echo base_url('column/center').'/'.$liker_latest['id'];?>">
                <img
                    src="<?php if (!empty($liker_latest['img'])) {
                        echo base_url().'upload/avator/' . $liker_latest['img'];
                    } else { ?>http://assets.taobaocdn.com/app/sns/img/default/avatar-60.png<?php } ?>"/>
            </a>
            <?php }?>
            </div>
            <div class="content7">
                <p class="p1">
                <?php if (!empty($liker_latest['name'])) { ?>
                <a href="<?php echo base_url('column/center').'/'.$liker_latest['id'];?>">
                    <font color="#FF3366"><?php  echo $liker_latest['name']; ?></font>
                </a>
                <font color="#999999">&nbsp;推荐了该宝贝。</font>
                <?php }else{?></font><font color="#999999">&nbsp;暂无人推荐该宝贝哦。</font><?php }?>
                </p>

                <div class="clr1"></div>
                <p class="p2">&nbsp;&nbsp;<?php if (!empty($like_detail['desc'])) echo $like_detail['desc']; ?></p>
            </div>
        </div>
        <div class="content5">
            <div class="content8">
                <p class="p2">
                    <b><font color="#333333"><?php if (!empty($one_baby['desc'])) echo $one_baby['desc']; ?></font></b>
                </p>

                <div class="clr1"></div>
                <p class="p3">
                    <a href="<?php echo $one_baby['tb_url']; ?>" target="_blank"><img
                            src="<?php echo base_url();?>images/column/gobuy.jpg"/></a>
                </p>

                <br> <br>

                <div class="content9">
                    <a href="<?php echo $one_baby['tb_url']; ?>" target="_blank"><img
                            src="<?php echo base_url();?>upload/baby/<?php echo $one_baby['big_img']; ?>"></a>
                </div>
                <div class="clr1"></div>
                <b>大家说：</b>

                <div class="content9">
                	<?php 
	                	$uid = $this->session->userdata('member_id') ? $this->session->userdata('member_id') : '';
						if($uid){					
					?>
                    <form action="<?php echo front_url('index/comment_add'); ?>" method="post">
                        <div class="content11">
                            <img
                                src="<?php if (!empty($liker_latest['img'])) {
                                    echo base_url().'upload/avator/' . $liker_latest['img'];
                                } else { ?>http://assets.taobaocdn.com/app/sns/img/default/avatar-60.png<?php } ?>"
                                width="30px" height="30px"/>
                        </div>

                        <div class="content12">

                            <input type="hidden" name="baby_id" value="<?php echo $one_baby['id']; ?>"/>
                            <textarea name="desc" style="width:500px;height:60px"></textarea>
                            <br>

                           <!-- <div class="content13">表情</div>

-->
                            <div class="content14">
                                <!-- JiaThis Button BEGIN -->
                                <div class="jiathis_style">
                                    <a class="jiathis_button_qzone"></a> <a
                                        class="jiathis_button_tsina"></a> <a
                                        class="jiathis_button_tqq"></a> <a
                                        class="jiathis_button_renren"></a> <a
                                        class="jiathis_button_kaixin001"></a> <a
                                        href="http://www.jiathis.com/share"
                                        class="jiathis jiathis_txt jtico jtico_jiathis"
                                        target="_blank"></a> <a class="jiathis_counter_style"></a>
                                </div>
                                <script type="text/javascript"
                                        src="http://v3.jiathis.com/code/jia.js?uid=1363306023375787"
                                        charset="utf-8"></script>
                                <!-- JiaThis Button END -->
                            </div>
                            <input type="submit" class="huifu" value="回复"/>
                        </div>
                    </form>
                    <?php }else{?>
                    <div style="color: rgb(61, 133, 102); font-family: 黑体, sans-serif; line-height: 65px; background-color: rgba(61, 61, 61, 0.168627);">
                    	小主,登录之后可以评论宝贝哦~.<a href="<?php echo base_url();?>login/login"><label style="color: rgb(61,93,107); font-weight: bold; padding-left: 47px;">登录</label></a>
                    </div>
                    <?php }?>
                </div>
                <table width="620" height="auto">
                    <div class="xian1">
                        <?php
                        if (!empty($comment)) {
                            foreach ($comment as $ck => $cv) {
                                $member_id = $cv['member_id'];
                                $mem_data  = $this->member->get_one_list($member_id);
                                ?>
                                <tr class="tr1">
                                    <td class="td2">
                                    <?php if(!empty($mem_data['id'])){?>
                                    <a href="<?php echo base_url('column/center').'/'.$mem_data['id'];?>">
                                    <img width="30px" height="30px"
                                                         src="<?php if (!empty($mem_data['img'])) {
                                                             echo base_url().'upload/avator/' . $mem_data['img'];
                                                         } else {
                                                             echo 'http://wwc.taobaocdn.com/avatar/getAvatar.do?userId=91140541&width=30&height=30&type=sns';
                                                         } ?>" />
                                    </a>
                                    <?php }?>
                                    </td>
                                    <td>
                                    <?php if(!empty($mem_data['id'])){?>
                                    <a href="<?php echo base_url('column/center').'/'.$mem_data['id'];?>">
                                    <font
                                            color="#FF3366"><?php if (!empty($mem_data['name'])) echo $mem_data['name'] ?>
                                            ：</font></a><?php }?><?php echo $cv['desc']; ?></td>
                                </tr>
                                <tr>
                                    <td colspan="3">
                                        <div class="xian1"></div>
                                    </td>
                                </tr>
                            <?php }
                        } ?>

                </table>
            </div>

        </div>
    </div>

    <div class="content2">
        <div class="content15">
            <span class="span1">来自&nbsp;<b>《掉衫》</b></span>

            <div class="clr1"></div>
            <div class="yi1">
                <div class="yi2">
                    <a href="#"><img
                            src="http://img04.taobaocdn.com/bao/uploaded/i4/11139020127954859/T1tTXAXEXeXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg"
                            width="70" height="70"></a>
                </div>
                <div class="yi2">
                    <a href="#"><img
                            src="http://img01.taobaocdn.com/bao/uploaded/i1/15562028640876020/T1PCkgXcXiXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg"
                            border="0"></a>
                </div>
                <div class="yi2">
                    <img
                        src="http://img01.taobaocdn.com/bao/uploaded/i1/18831019284197357/T1Ki.YXfRXXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg">
                </div>
            </div>
            <div class="clr1"></div>
            <div class="yi1">
                <div class="yi2">
                    <img
                        src="http://img04.taobaocdn.com/bao/uploaded/i4/11139020127954859/T1tTXAXEXeXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg"
                        width="70" height="70">
                </div>
                <div class="yi2">
                    <img
                        src="http://img01.taobaocdn.com/bao/uploaded/i1/15562028640876020/T1PCkgXcXiXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg">
                </div>
                <div class="yi2">
                    <img
                        src="http://img01.taobaocdn.com/bao/uploaded/i1/18831019284197357/T1Ki.YXfRXXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg">
                </div>
            </div>

        </div>
        <div class="clr1"></div>
        <div class="xian"></div>
        <div class="content15">
            <p class="p2">
                <b>流行元素</b>
            </p>
            <br>
            <br>

            <div class="yuansu">毛衣</div>
            <div class="yuansu1">彩色条</div>
            <div class="yuansu">图案</div>
        </div>
        <br>
        <br>

        <div class="xian"></div>
        <div class="content15">
            <p class="p2">
                <b>超夯专辑推荐</b>
            </p>
            <br>
            <br>

            <p class="p3">吊扇的演绎</p>

            <p class="p4">
                <font color="#FF3366">48</font>个宝贝
            </p>

            <div class="yi1">
                <div class="yi2">
                    <a href="#"><img
                            src="http://img04.taobaocdn.com/bao/uploaded/i4/11139020127954859/T1tTXAXEXeXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg"
                            width="70" height="70"></a>
                </div>
                <div class="yi2">
                    <img
                        src="http://img01.taobaocdn.com/bao/uploaded/i1/15562028640876020/T1PCkgXcXiXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg">
                </div>
                <div class="yi2">
                    <img
                        src="http://img01.taobaocdn.com/bao/uploaded/i1/18831019284197357/T1Ki.YXfRXXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg">
                </div>
            </div>
            <div class="clr1"></div>
            <div class="yi1">
                <div class="yi2">
                    <img
                        src="http://img04.taobaocdn.com/bao/uploaded/i4/11139020127954859/T1tTXAXEXeXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg"
                        width="70" height="70">
                </div>
                <div class="yi2">
                    <img
                        src="http://img01.taobaocdn.com/bao/uploaded/i1/15562028640876020/T1PCkgXcXiXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg">
                </div>
                <div class="yi2">
                    <img
                        src="http://img01.taobaocdn.com/bao/uploaded/i1/18831019284197357/T1Ki.YXfRXXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg">
                </div>
            </div>
            <div class="clr1"></div>
            <br>

            <div class="xian1"></div>

            <p class="p3">卫衣T血衫</p>

            <p class="p4">
                <font color="#FF3366">11</font>个宝贝
            </p>

            <div class="yi1">
                <div class="yi2">
                    <a href="#"><img
                            src="http://img04.taobaocdn.com/bao/uploaded/i4/11139020127954859/T1tTXAXEXeXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg"
                            width="70" height="70"></a>
                </div>
                <div class="yi2">
                    <img
                        src="http://img01.taobaocdn.com/bao/uploaded/i1/15562028640876020/T1PCkgXcXiXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg">
                </div>
                <div class="yi2">
                    <img
                        src="http://img01.taobaocdn.com/bao/uploaded/i1/18831019284197357/T1Ki.YXfRXXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg">
                </div>
            </div>
            <div class="clr1"></div>
            <div class="yi1">
                <div class="yi2">
                    <img
                        src="http://img04.taobaocdn.com/bao/uploaded/i4/11139020127954859/T1tTXAXEXeXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg"
                        width="70" height="70">
                </div>
                <div class="yi2">
                    <img
                        src="http://img01.taobaocdn.com/bao/uploaded/i1/15562028640876020/T1PCkgXcXiXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg">
                </div>
                <div class="yi2">
                    <img
                        src="http://img01.taobaocdn.com/bao/uploaded/i1/18831019284197357/T1Ki.YXfRXXXXXXXXX_!!0-item_pic.jpg_70x1000.jpg">
                </div>
            </div>

        </div>
        <div class="clr1"></div>
        <div class="xian1"></div>
        <div class="content15">
            <p class="p2">
                <b>超热生活秀推荐</b>
            </p>

            <div class="content16">
                <img
                    src="http://img03.taobaocdn.com/bao/uploaded/i3/T12OxyXydcXXb1upjX.jpg_100x1000.jpg"
                    width="100" height="110">
            </div>
            <div class="content17">
                <img
                    src="http://img02.taobaocdn.com/bao/uploaded/i2/T17sRyXrRhXXb1upjX.jpg_100x1000.jpg"
                    width="100" height="110">
            </div>
        </div>
    </div>
    </div>
    <div class="clr1"></div>
    <div class="xian1"></div>
    <b>喜欢这个宝贝的人还喜欢</b>

    <div id="love">
        <div class="love2">
            <img
                src="http://img04.taobaocdn.com/bao/uploaded/i4/14542019132588816/T1KvUPXl4aXXXXXXXX_!!0-item_pic.jpg_220x10000.jpg"
                width="190" height="200">
        </div>
        <div class="love2">
            <img
                src="http://img04.taobaocdn.com/bao/uploaded/i4/14380030902184097/T1yMklXmxhXXXXXXXX_!!0-item_pic.jpg_220x10000.jpg"
                width="190" height="200">
        </div>
        <div class="love2">
            <img
                src="http://img01.taobaocdn.com/bao/uploaded/i1/16083030749396339/T1Y8QYXXRXXXXXXXXX_!!0-item_pic.jpg_220x10000.jpg"
                width="190" height="200">
        </div>
        <div class="love2">
            <img
                src="http://img04.taobaocdn.com/bao/uploaded/i4/14542019132588816/T1KvUPXl4aXXXXXXXX_!!0-item_pic.jpg_220x10000.jpg"
                width="190" height="200">
        </div>
        <div class="love2">
            <img
                src="http://img01.taobaocdn.com/bao/uploaded/i1/10812020680919634/T1cX3EXdlbXXXXXXXX_!!0-item_pic.jpg_220x10000.jpg"
                width="190" height="200">
        </div>

    </div>

    </div>
<?php $this->load->view('public/member_pubfooter'); ?>